/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.ArrayList;

/**
 *
 * @author Allan
 */
public class Order
{
    private int orderID;
    private String orderStatus;
    private Customer customer;
    private ArrayList<OrderLine> orderLine;
    
    public Order(int oID, String oStatus, Customer cust)
    {
        this.orderID = oID;
        this.orderStatus = oStatus;
        this.customer = cust;
        orderLine = new ArrayList();
    }
    
    public Order()
    {
        
    }

    public void addOrderLine(OrderLine oLine)
    {
        this.orderLine.add(oLine);
    }

    public int getOrderID()
    {
        return orderID;
    }

    public String getOrderStatus()
    {
        return orderStatus;
    }

    public Customer getCustomer()
    {
        return customer;
    }

    public void setOrderID(int orderID)
    {
        this.orderID = orderID;
    }

    public void setOrderStatus(String orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public void setCustomer(Customer customer)
    {
        this.customer = customer;
    }
}
